#!/bin/sh
##Only useful to run the experiments on local osx machine.


killall lua
echo "Start rendez-vous"
lua scribe.lua > rdv.log 2>&1 &
sleep 1

port=20001
ip="127.0.0.1"
for n in `seq 10`;
do
	echo "scribe-${n} ${ip}:${port} "
	lua scribe.lua $ip $port 127.0.0.1 20000 > $n.log 2>&1 &
	let port=$port+1
	sleep 1
done
